package xyz.renyumeng.xkm.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.renyumeng.xkm.dto.order.AdminOrderPage;
import xyz.renyumeng.xkm.dto.order.AdminOrderPageResult;
import xyz.renyumeng.xkm.model.order.OrderInfo;
import xyz.renyumeng.xkm.result.Result;

import java.util.List;

/**
 * @author renyumeng
 * @date Created in 8:50 2023/6/30
 */
public interface OrderService extends IService<OrderInfo> {
    Result<List<Long>> addOrders(List<OrderInfo> orderInfoList);

    Boolean innerAddOrder(OrderInfo orderInfo);

    Result<AdminOrderPageResult> pageWithFilter(AdminOrderPage adminOrderPage);

}
